first-class environments - definizione. Che cos'è first-class environments
Diclib.com
Dizionario ChatGPT
Inserisci una parola o una frase in qualsiasi lingua 👆
Lingua:

Traduzione e analisi delle parole tramite l'intelligenza artificiale ChatGPT

In questa pagina puoi ottenere un'analisi dettagliata di una parola o frase, prodotta utilizzando la migliore tecnologia di intelligenza artificiale fino ad oggi:

  • come viene usata la parola
  • frequenza di utilizzo
  • è usato più spesso nel discorso orale o scritto
  • opzioni di traduzione delle parole
  • esempi di utilizzo (varie frasi con traduzione)
  • etimologia

Cosa (chi) è first-class environments - definizione

PROGRAMMING LANGUAGE FEATURE THAT ALLOWS MANIPULATING FUNCTIONS LIKE OTHER VALUES
First class function; First class procedures; First class procedure; First Class Functions; First-class functions; Function reference; First-class procedure; First class functions

First-class function         
In computer science, a programming language is said to have first-class functions if it treats functions as first-class citizens. This means the language supports passing functions as arguments to other functions, returning them as the values from other functions, and assigning them to variables or storing them in data structures.
First-class citizen         
TERM IN PROGRAMMING LANGUAGE DESIGN
First-class value; Second-class object; First-class values; First-class entity (computing); First-class citizen (computing); First-class (object); First class object; First-class datatype; First-class data type; First-class entity; First-class object; First class citizen; Second-class value; Third-class object; First-class type; User:恒温/First-class type
In programming language design, a first-class citizen (also type, object, entity, or value) in a given programming language is an entity which supports all the operations generally available to other entities. These operations typically include being passed as an argument, returned from a function, and assigned to a variable.
First class travel         
  • The Business Class car on Shenzhen Metro Line 11
  • First class car on the ''[[Berlin-Warszawa-Express]]''
  • Class 221 ''Super Voyager'']]
  • First Class compartment on the [[Bluebell Railway]]
  • First class on Regional-Express in Berlin
  • The "Gold Class" section of a Dubai Metro train
  • [[Etihad Airways]]' "The Residence" suite
  • First Class seating on an East Rail line carriage
  • [[Renfe Operadora]] [[AVE]] first class seat
  • Exterior of a second-generation Luxury class car (K1 0 19 46)
  • bilevel "Green Cars"]] per train
  • The "Green Car" logo
PUBLIC TRANSPORT
First-class travel; List of first class commuter transport services; First class commuter travel; 1st Class travel; First class commuter transport; First Class Travel
First class is the most luxurious and most expensive travel class of seats and service on a train, passenger ship, airplane, bus, or other system of transport.first class.

Wikipedia

First-class function

In computer science, a programming language is said to have first-class functions if it treats functions as first-class citizens. This means the language supports passing functions as arguments to other functions, returning them as the values from other functions, and assigning them to variables or storing them in data structures. Some programming language theorists require support for anonymous functions (function literals) as well. In languages with first-class functions, the names of functions do not have any special status; they are treated like ordinary variables with a function type. The term was coined by Christopher Strachey in the context of "functions as first-class citizens" in the mid-1960s.

First-class functions are a necessity for the functional programming style, in which the use of higher-order functions is a standard practice. A simple example of a higher-ordered function is the map function, which takes, as its arguments, a function and a list, and returns the list formed by applying the function to each member of the list. For a language to support map, it must support passing a function as an argument.

There are certain implementation difficulties in passing functions as arguments or returning them as results, especially in the presence of non-local variables introduced in nested and anonymous functions. Historically, these were termed the funarg problems, the name coming from "function argument". In early imperative languages these problems were avoided by either not supporting functions as result types (e.g. ALGOL 60, Pascal) or omitting nested functions and thus non-local variables (e.g. C). The early functional language Lisp took the approach of dynamic scoping, where non-local variables refer to the closest definition of that variable at the point where the function is executed, instead of where it was defined. Proper support for lexically scoped first-class functions was introduced in Scheme and requires handling references to functions as closures instead of bare function pointers, which in turn makes garbage collection a necessity.